package com.ktgj.other.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;

/**
 * 专车订单对象 rc_order
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
public class RcOrder implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long rcorderid;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderid;

    /** 合作商订单号 */
    @Excel(name = "合作商订单号")
    private String bussinessorderid;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractid;

    /** 订单来源 1 空铁管家，2 金色世纪 3 CRM */
    @Excel(name = "订单来源 1 空铁管家，2 金色世纪 3 CRM")
    private Long ordersource;

    /** 支付方式id */
    @Excel(name = "支付方式id")
    private Long paytype;

    /** 用车城市 */
    @Excel(name = "用车城市")
    private Long usedcarcity;

    /** 金色世纪会员编号 */
    @Excel(name = "金色世纪会员编号")
    private String jsjmemberid;

    /** 乘客姓名 */
    @Excel(name = "乘客姓名")
    private String passengername;

    /** 乘客数量 */
    @Excel(name = "乘客数量")
    private Long passengernumbers;

    /** 乘客联系电话 */
    @Excel(name = "乘客联系电话")
    private String passengertel;

    /** 上车地点 */
    @Excel(name = "上车地点")
    private String getonaddress;

    /** 出发地纬度 */
    @Excel(name = "出发地纬度")
    private String getonpositionlat;

    /** 出发地经度 */
    @Excel(name = "出发地经度")
    private String getonpositionlng;

    /** 出发机场 */
    @Excel(name = "出发机场")
    private String departairport;

    /** 机场代码 */
    @Excel(name = "机场代码")
    private String airportcode;

    /** 航班日期 */
    @Excel(name = "航班日期")
    private String flightdate;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flightnumber;

    /** 下车地点 */
    @Excel(name = "下车地点")
    private String getoffaddress;

    /** 到达地纬度 */
    @Excel(name = "到达地纬度")
    private String getoffpositionlat;

    /** 到达地经度 */
    @Excel(name = "到达地经度")
    private String getoffpositionlng;

    /** 预定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预定时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date boardingtime;

    /** 上车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上车时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date getontime;

    /** 用车方式：1 接机，2 送机，3 接站，4 送站，5 日租，6 半日租，7 时租，8 随叫随到 */
    @Excel(name = "用车方式：1 接机，2 送机，3 接站，4 送站，5 日租，6 半日租，7 时租，8 随叫随到")
    private Long usedcarway;

    /** 车辆级别 */
    @Excel(name = "车辆级别")
    private Long carlevel;

    /** 结算方式：0 信用卡 */
    @Excel(name = "结算方式：0 信用卡")
    private Long settlementways;

    /** 预估金额 */
    @Excel(name = "预估金额")
    private BigDecimal estimateprice;

    /** 冻结金额 */
    @Excel(name = "冻结金额")
    private BigDecimal amontfrozen;

    /** 供应商提供实际金额 */
    @Excel(name = "供应商提供实际金额")
    private BigDecimal actualprice;

    /** 用户支付金额 */
    @Excel(name = "用户支付金额")
    private BigDecimal paymentamount;

    /** 调整原因 */
    @Excel(name = "调整原因")
    private String regulatepanreason;

    /** 服务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "服务结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date serviceendtime;

    /** 接口异常信息 */
    @Excel(name = "接口异常信息")
    private String interfaceexception;

    /** 付款异常信息 */
    @Excel(name = "付款异常信息")
    private String paymentexception;

    /** 是否异常订单 */
    @Excel(name = "是否异常订单")
    private Integer isexceptionorder;

    /** 租车订单状态枚举：默认 0 未派单1 等待确认2  等待服务3 服务中4 服务结束5 服务取消6 异常订单7  服务取消中8 */
    @Excel(name = "租车订单状态枚举：默认 0 未派单1 等待确认2  等待服务3 服务中4 服务结束5 服务取消6 异常订单7  服务取消中8")
    private Long orderstatus;

    /** 租车支付状态 枚举： 默认0 未支付10 支付中20 预授权成功30 支付成功31 预授权消费完成40 预授权消费失败50  预授权撤销完成 60 预授权撤销失败70 退款中80 退款成功90 退款失败100 */
    @Excel(name = "租车支付状态 枚举： 默认0 未支付10 支付中20 预授权成功30 支付成功31 预授权消费完成40 预授权消费失败50  预授权撤销完成 60 预授权撤销失败70 退款中80 退款成功90 退款失败100")
    private Long paymentstatus;

    /** 保公司名称 */
    @Excel(name = "保公司名称")
    private String insurecompany;

    /** 保单号 */
    @Excel(name = "保单号")
    private String insurenumber;

    /** 订单取消原因 */
    @Excel(name = "订单取消原因")
    private String cancelreason;

    /** 订单取消原因备注 */
    @Excel(name = "订单取消原因备注")
    private String cancelreasonremark;

    /** 订单创建人 */
    @Excel(name = "订单创建人")
    private String createorderperson;

    /** 订单创建人号码 */
    @Excel(name = "订单创建人号码")
    private String createorderpersontel;

    /** 汽车图片地址 */
    @Excel(name = "汽车图片地址")
    private String carpicurl;

    /** 描述 */
    @Excel(name = "描述")
    private String brand;

    /** 车型名称 */
    @Excel(name = "车型名称")
    private String cartypename;

    /** 车型id */
    @Excel(name = "车型id")
    private String cartypeid;

    /** 取消订单原因类型 */
    @Excel(name = "取消订单原因类型")
    private String cancelorderreasontype;

    /** 取消订单原因描述 */
    @Excel(name = "取消订单原因描述")
    private String cancelorderreasondesc;

    /** 合作id */
    @Excel(name = "合作id")
    private Long partnerid;

    /** 价格标识符 */
    @Excel(name = "价格标识符")
    private String pricemark;

    /** 优惠券编号 */
    @Excel(name = "优惠券编号")
    private String couponnum;

    /** 优惠券金额 */
    @Excel(name = "优惠券金额")
    private BigDecimal couponamount;

    /** 预留款金额 */
    @Excel(name = "预留款金额")
    private BigDecimal depositamount;

    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal invoiceamount;

    /** 是否要发票 */
    @Excel(name = "是否要发票")
    private Integer isinvoice;

    /** 是否使用预留款 */
    @Excel(name = "是否使用预留款")
    private Integer isdeposit;

    /** 取消费用 */
    @Excel(name = "取消费用")
    private BigDecimal cancelfee;

    /** 操作员工id */
    @Excel(name = "操作员工id")
    private Long opemployeeid;

    /** 操作员工姓名 */
    @Excel(name = "操作员工姓名")
    private String opemployeename;

    /** 服务费 CRM 默认收取 30 */
    @Excel(name = "服务费 CRM 默认收取 30")
    private BigDecimal serviceamount;

    /** 积分 */
    @Excel(name = "积分")
    private BigDecimal points;

    /**
     * 是否使用积分
     */
    private Integer isPoints;

    /**
     * 支付开始时间
     */
    private String payTime;

    /**
     * 支付结束时间
     */
    private String payTimeEnd;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 会员卡号
     */
    private String cardCode;

    public void setRcorderid(Long rcorderid) 
    {
        this.rcorderid = rcorderid;
    }

    public Long getRcorderid() 
    {
        return rcorderid;
    }
    public void setOrderid(String orderid)
    {
        this.orderid = orderid;
    }

    public String getOrderid()
    {
        return orderid;
    }
    public void setBussinessorderid(String bussinessorderid) 
    {
        this.bussinessorderid = bussinessorderid;
    }

    public String getBussinessorderid() 
    {
        return bussinessorderid;
    }
    public void setContractid(Long contractid) 
    {
        this.contractid = contractid;
    }

    public Long getContractid() 
    {
        return contractid;
    }
    public void setOrdersource(Long ordersource) 
    {
        this.ordersource = ordersource;
    }

    public Long getOrdersource() 
    {
        return ordersource;
    }
    public void setPaytype(Long paytype) 
    {
        this.paytype = paytype;
    }

    public Long getPaytype() 
    {
        return paytype;
    }
    public void setUsedcarcity(Long usedcarcity) 
    {
        this.usedcarcity = usedcarcity;
    }

    public Long getUsedcarcity() 
    {
        return usedcarcity;
    }
    public void setJsjmemberid(String jsjmemberid) 
    {
        this.jsjmemberid = jsjmemberid;
    }

    public String getJsjmemberid() 
    {
        return jsjmemberid;
    }
    public void setPassengername(String passengername) 
    {
        this.passengername = passengername;
    }

    public String getPassengername() 
    {
        return passengername;
    }
    public void setPassengernumbers(Long passengernumbers) 
    {
        this.passengernumbers = passengernumbers;
    }

    public Long getPassengernumbers() 
    {
        return passengernumbers;
    }
    public void setPassengertel(String passengertel) 
    {
        this.passengertel = passengertel;
    }

    public String getPassengertel() 
    {
        return passengertel;
    }
    public void setGetonaddress(String getonaddress) 
    {
        this.getonaddress = getonaddress;
    }

    public String getGetonaddress() 
    {
        return getonaddress;
    }
    public void setGetonpositionlat(String getonpositionlat) 
    {
        this.getonpositionlat = getonpositionlat;
    }

    public String getGetonpositionlat() 
    {
        return getonpositionlat;
    }
    public void setGetonpositionlng(String getonpositionlng) 
    {
        this.getonpositionlng = getonpositionlng;
    }

    public String getGetonpositionlng() 
    {
        return getonpositionlng;
    }
    public void setDepartairport(String departairport) 
    {
        this.departairport = departairport;
    }

    public String getDepartairport() 
    {
        return departairport;
    }
    public void setAirportcode(String airportcode) 
    {
        this.airportcode = airportcode;
    }

    public String getAirportcode() 
    {
        return airportcode;
    }
    public void setFlightdate(String flightdate) 
    {
        this.flightdate = flightdate;
    }

    public String getFlightdate() 
    {
        return flightdate;
    }
    public void setFlightnumber(String flightnumber) 
    {
        this.flightnumber = flightnumber;
    }

    public String getFlightnumber() 
    {
        return flightnumber;
    }
    public void setGetoffaddress(String getoffaddress) 
    {
        this.getoffaddress = getoffaddress;
    }

    public String getGetoffaddress() 
    {
        return getoffaddress;
    }
    public void setGetoffpositionlat(String getoffpositionlat) 
    {
        this.getoffpositionlat = getoffpositionlat;
    }

    public String getGetoffpositionlat() 
    {
        return getoffpositionlat;
    }
    public void setGetoffpositionlng(String getoffpositionlng) 
    {
        this.getoffpositionlng = getoffpositionlng;
    }

    public String getGetoffpositionlng() 
    {
        return getoffpositionlng;
    }
    public void setBoardingtime(Date boardingtime) 
    {
        this.boardingtime = boardingtime;
    }

    public Date getBoardingtime() 
    {
        return boardingtime;
    }
    public void setGetontime(Date getontime) 
    {
        this.getontime = getontime;
    }

    public Date getGetontime() 
    {
        return getontime;
    }
    public void setUsedcarway(Long usedcarway) 
    {
        this.usedcarway = usedcarway;
    }

    public Long getUsedcarway() 
    {
        return usedcarway;
    }
    public void setCarlevel(Long carlevel) 
    {
        this.carlevel = carlevel;
    }

    public Long getCarlevel() 
    {
        return carlevel;
    }
    public void setSettlementways(Long settlementways) 
    {
        this.settlementways = settlementways;
    }

    public Long getSettlementways() 
    {
        return settlementways;
    }
    public void setEstimateprice(BigDecimal estimateprice) 
    {
        this.estimateprice = estimateprice;
    }

    public BigDecimal getEstimateprice() 
    {
        return estimateprice;
    }
    public void setAmontfrozen(BigDecimal amontfrozen) 
    {
        this.amontfrozen = amontfrozen;
    }

    public BigDecimal getAmontfrozen() 
    {
        return amontfrozen;
    }
    public void setActualprice(BigDecimal actualprice) 
    {
        this.actualprice = actualprice;
    }

    public BigDecimal getActualprice() 
    {
        return actualprice;
    }
    public void setPaymentamount(BigDecimal paymentamount) 
    {
        this.paymentamount = paymentamount;
    }

    public BigDecimal getPaymentamount() 
    {
        return paymentamount;
    }
    public void setRegulatepanreason(String regulatepanreason) 
    {
        this.regulatepanreason = regulatepanreason;
    }

    public String getRegulatepanreason() 
    {
        return regulatepanreason;
    }
    public void setServiceendtime(Date serviceendtime) 
    {
        this.serviceendtime = serviceendtime;
    }

    public Date getServiceendtime() 
    {
        return serviceendtime;
    }
    public void setInterfaceexception(String interfaceexception) 
    {
        this.interfaceexception = interfaceexception;
    }

    public String getInterfaceexception() 
    {
        return interfaceexception;
    }
    public void setPaymentexception(String paymentexception) 
    {
        this.paymentexception = paymentexception;
    }

    public String getPaymentexception() 
    {
        return paymentexception;
    }
    public void setIsexceptionorder(Integer isexceptionorder) 
    {
        this.isexceptionorder = isexceptionorder;
    }

    public Integer getIsexceptionorder() 
    {
        return isexceptionorder;
    }
    public void setOrderstatus(Long orderstatus) 
    {
        this.orderstatus = orderstatus;
    }

    public Long getOrderstatus() 
    {
        return orderstatus;
    }
    public void setPaymentstatus(Long paymentstatus) 
    {
        this.paymentstatus = paymentstatus;
    }

    public Long getPaymentstatus() 
    {
        return paymentstatus;
    }
    public void setInsurecompany(String insurecompany) 
    {
        this.insurecompany = insurecompany;
    }

    public String getInsurecompany() 
    {
        return insurecompany;
    }
    public void setInsurenumber(String insurenumber) 
    {
        this.insurenumber = insurenumber;
    }

    public String getInsurenumber() 
    {
        return insurenumber;
    }
    public void setCancelreason(String cancelreason) 
    {
        this.cancelreason = cancelreason;
    }

    public String getCancelreason() 
    {
        return cancelreason;
    }
    public void setCancelreasonremark(String cancelreasonremark) 
    {
        this.cancelreasonremark = cancelreasonremark;
    }

    public String getCancelreasonremark() 
    {
        return cancelreasonremark;
    }
    public void setCreateorderperson(String createorderperson) 
    {
        this.createorderperson = createorderperson;
    }

    public String getCreateorderperson() 
    {
        return createorderperson;
    }
    public void setCreateorderpersontel(String createorderpersontel) 
    {
        this.createorderpersontel = createorderpersontel;
    }

    public String getCreateorderpersontel() 
    {
        return createorderpersontel;
    }
    public void setCarpicurl(String carpicurl) 
    {
        this.carpicurl = carpicurl;
    }

    public String getCarpicurl() 
    {
        return carpicurl;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setCartypename(String cartypename) 
    {
        this.cartypename = cartypename;
    }

    public String getCartypename() 
    {
        return cartypename;
    }
    public void setCartypeid(String cartypeid) 
    {
        this.cartypeid = cartypeid;
    }

    public String getCartypeid() 
    {
        return cartypeid;
    }
    public void setCancelorderreasontype(String cancelorderreasontype) 
    {
        this.cancelorderreasontype = cancelorderreasontype;
    }

    public String getCancelorderreasontype() 
    {
        return cancelorderreasontype;
    }
    public void setCancelorderreasondesc(String cancelorderreasondesc) 
    {
        this.cancelorderreasondesc = cancelorderreasondesc;
    }

    public String getCancelorderreasondesc() 
    {
        return cancelorderreasondesc;
    }
    public void setPartnerid(Long partnerid) 
    {
        this.partnerid = partnerid;
    }

    public Long getPartnerid() 
    {
        return partnerid;
    }
    public void setPricemark(String pricemark) 
    {
        this.pricemark = pricemark;
    }

    public String getPricemark() 
    {
        return pricemark;
    }
    public void setCouponnum(String couponnum) 
    {
        this.couponnum = couponnum;
    }

    public String getCouponnum()
    {
        return couponnum;
    }
    public void setCouponamount(BigDecimal couponamount) 
    {
        this.couponamount = couponamount;
    }

    public BigDecimal getCouponamount() 
    {
        return couponamount;
    }
    public void setDepositamount(BigDecimal depositamount) 
    {
        this.depositamount = depositamount;
    }

    public BigDecimal getDepositamount() 
    {
        return depositamount;
    }
    public void setInvoiceamount(BigDecimal invoiceamount) 
    {
        this.invoiceamount = invoiceamount;
    }

    public BigDecimal getInvoiceamount() 
    {
        return invoiceamount;
    }
    public void setIsinvoice(Integer isinvoice) 
    {
        this.isinvoice = isinvoice;
    }

    public Integer getIsinvoice() 
    {
        return isinvoice;
    }
    public void setIsdeposit(Integer isdeposit) 
    {
        this.isdeposit = isdeposit;
    }

    public Integer getIsdeposit() 
    {
        return isdeposit;
    }
    public void setCancelfee(BigDecimal cancelfee) 
    {
        this.cancelfee = cancelfee;
    }

    public BigDecimal getCancelfee() 
    {
        return cancelfee;
    }
    public void setOpemployeeid(Long opemployeeid) 
    {
        this.opemployeeid = opemployeeid;
    }

    public Long getOpemployeeid() 
    {
        return opemployeeid;
    }
    public void setOpemployeename(String opemployeename) 
    {
        this.opemployeename = opemployeename;
    }

    public String getOpemployeename() 
    {
        return opemployeename;
    }
    public void setServiceamount(BigDecimal serviceamount) 
    {
        this.serviceamount = serviceamount;
    }

    public BigDecimal getServiceamount() 
    {
        return serviceamount;
    }

    public BigDecimal getPoints() {
        return points;
    }

    public void setPoints(BigDecimal points) {
        this.points = points;
    }

    public Integer getIsPoints() {
        return isPoints;
    }

    public void setIsPoints(Integer isPoints) {
        this.isPoints = isPoints;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getPayTimeEnd() {
        return payTimeEnd;
    }

    public void setPayTimeEnd(String payTimeEnd) {
        this.payTimeEnd = payTimeEnd;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rcorderid", getRcorderid())
            .append("orderid", getOrderid())
            .append("bussinessorderid", getBussinessorderid())
            .append("contractid", getContractid())
            .append("ordersource", getOrdersource())
            .append("paytype", getPaytype())
            .append("usedcarcity", getUsedcarcity())
            .append("jsjmemberid", getJsjmemberid())
            .append("passengername", getPassengername())
            .append("passengernumbers", getPassengernumbers())
            .append("passengertel", getPassengertel())
            .append("getonaddress", getGetonaddress())
            .append("getonpositionlat", getGetonpositionlat())
            .append("getonpositionlng", getGetonpositionlng())
            .append("departairport", getDepartairport())
            .append("airportcode", getAirportcode())
            .append("flightdate", getFlightdate())
            .append("flightnumber", getFlightnumber())
            .append("getoffaddress", getGetoffaddress())
            .append("getoffpositionlat", getGetoffpositionlat())
            .append("getoffpositionlng", getGetoffpositionlng())
            .append("boardingtime", getBoardingtime())
            .append("getontime", getGetontime())
            .append("usedcarway", getUsedcarway())
            .append("carlevel", getCarlevel())
            .append("settlementways", getSettlementways())
            .append("estimateprice", getEstimateprice())
            .append("amontfrozen", getAmontfrozen())
            .append("actualprice", getActualprice())
            .append("paymentamount", getPaymentamount())
            .append("regulatepanreason", getRegulatepanreason())
            .append("serviceendtime", getServiceendtime())
            .append("interfaceexception", getInterfaceexception())
            .append("paymentexception", getPaymentexception())
            .append("isexceptionorder", getIsexceptionorder())
            .append("orderstatus", getOrderstatus())
            .append("paymentstatus", getPaymentstatus())
            .append("insurecompany", getInsurecompany())
            .append("insurenumber", getInsurenumber())
            .append("createtime", getCreateTime())
            .append("updatetime", getUpdateTime())
            .append("cancelreason", getCancelreason())
            .append("cancelreasonremark", getCancelreasonremark())
            .append("createorderperson", getCreateorderperson())
            .append("createorderpersontel", getCreateorderpersontel())
            .append("carpicurl", getCarpicurl())
            .append("brand", getBrand())
            .append("cartypename", getCartypename())
            .append("cartypeid", getCartypeid())
            .append("cancelorderreasontype", getCancelorderreasontype())
            .append("cancelorderreasondesc", getCancelorderreasondesc())
            .append("partnerid", getPartnerid())
            .append("pricemark", getPricemark())
            .append("couponnum", getCouponnum())
            .append("couponamount", getCouponamount())
            .append("depositamount", getDepositamount())
            .append("invoiceamount", getInvoiceamount())
            .append("isinvoice", getIsinvoice())
            .append("isdeposit", getIsdeposit())
            .append("cancelfee", getCancelfee())
            .append("opemployeeid", getOpemployeeid())
            .append("opemployeename", getOpemployeename())
            .append("serviceamount", getServiceamount())
            .append("points", getPoints())
            .toString();
    }
}
